package org.compamatic.annotations;

import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

@Target({TYPE, ElementType.METHOD})
@Retention(RUNTIME)
@Documented
public @interface CompaProperty {
	String property();
	Order order() default Order.ASC;
	@SuppressWarnings("rawtypes")
	Class comparator() default Void.class;
	
	public enum Order { ASC, DSC }
}
